The Week View component > FWeekView.setSize() |
FWeekView.setSize()
Availability
Flash Player 6.
Usage
myWeekView_wkv.setSize (width)
Parameters
width A number specifying the width of the component
in pixels.
Returns
Nothing
Description
This method allows you to specify the width of the component in pixels.
Notes
The API does not allow the height of the component to be adjusted.
Example
The week_example1.fla example file contains an example of using this method.
The following code sets the width of the component to 300 pixels.
myWeekView_wkv.setSize( 300 );
trace( "Width: " + myWeekView_wkv._width ); //traces "Width: 300"